<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/BusinessSecurity" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/BusinessSecurity" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://auth.hsmobile.vn/ActionSecurityService.svc?xsd=xsd6" namespace="http://schemas.datacontract.org/2004/07/BusinessObjects" />
  <xs:complexType name="ArrayOfPermissionInSite">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PermissionInSite" nillable="true" type="tns:PermissionInSite" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPermissionInSite" nillable="true" type="tns:ArrayOfPermissionInSite" />
  <xs:complexType name="PermissionInSite">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/BusinessObjects" base="q1:BusinessObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="PermissionId" type="xs:int" />
          <xs:element minOccurs="0" name="SiteId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PermissionInSite" nillable="true" type="tns:PermissionInSite" />
  <xs:complexType name="ArrayOfRoleInSite">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="RoleInSite" nillable="true" type="tns:RoleInSite" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRoleInSite" nillable="true" type="tns:ArrayOfRoleInSite" />
  <xs:complexType name="RoleInSite">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/BusinessObjects" base="q2:BusinessObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="PermissionId" type="xs:int" />
          <xs:element minOccurs="0" name="RoleId" type="xs:int" />
          <xs:element minOccurs="0" name="SiteId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RoleInSite" nillable="true" type="tns:RoleInSite" />
  <xs:complexType name="ArrayOfSite">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Site" nillable="true" type="tns:Site" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSite" nillable="true" type="tns:ArrayOfSite" />
  <xs:complexType name="Site">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/BusinessObjects" base="q3:BusinessObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Controller" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="IsGroup" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="Order" type="xs:int" />
          <xs:element minOccurs="0" name="ParentId" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="PermissionInSites" nillable="true" type="tns:ArrayOfPermissionInSite" />
          <xs:element minOccurs="0" name="RoleInSites" nillable="true" type="tns:ArrayOfRoleInSite" />
          <xs:element minOccurs="0" name="Sites" nillable="true" type="tns:ArrayOfSite" />
          <xs:element minOccurs="0" name="Status" nillable="true" type="xs:boolean" />
          <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Site" nillable="true" type="tns:Site" />
</xs:schema>